import { FC, memo } from 'react'
import { LoadingWrapper } from './style'

interface IState {
  children?: React.ReactNode
}

const Loading: FC<IState> = memo(() => {
  return (
    <LoadingWrapper>
      <img src={require('./loading.gif')} alt="" />
    </LoadingWrapper>
  )
})

export default Loading
